<h2><?php echo $model->name; ?>详细信息</h2>

<div class="actionBar">
<?php 
	$act=isset($_GET['ret'])?$_GET['ret']:$ret;//判断show以后返回路径
	unset($_GET['ret']);unset($_GET['id']);
	$url=array($act)+$_GET;
?>
[<?php echo CHtml::link('返回',$url); ?>]
</div>

<table class="dataGrid">
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('name')); ?>
</th>
    <td><?php echo CHtml::encode($model->name); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('short_name')); ?>
</th>
    <td><?php echo CHtml::encode($model->short_name); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('household_register')); ?>
</th>
    <td><?php echo CHtml::encode($model->household_register); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('sex')); ?>
</th>
    <td><?php echo CHtml::encode($model->sex==0?'男':'女'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('birthday')); ?>
</th>
    <td><?php echo CHtml::encode($model->birthday); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('card_id')); ?>
</th>
    <td><?php echo CHtml::encode($model->card_id); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('archive_id')); ?>
</th>
    <td><?php echo CHtml::encode($model->archive_id); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('dl_id')); ?>
</th>
    <td><?php echo CHtml::encode($model->dl_id); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('car_type')); ?>
</th>
    <td><?php echo CHtml::encode($model->car_type); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('dl_approve_date')); ?>
</th>
    <td><?php echo CHtml::encode($model->dl_approve_date); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('di_valid_date')); ?>
</th>
    <td><?php echo CHtml::encode($model->di_valid_date); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('dl_Annual_date')); ?>
</th>
    <td><?php echo CHtml::encode($model->dl_Annual_date); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('home_tel')); ?>
</th>
    <td><?php echo CHtml::encode($model->home_tel); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('home_addr')); ?>
</th>
    <td><?php echo CHtml::encode($model->home_addr); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('entry_time')); ?>
</th>
    <td><?php echo CHtml::encode($model->entry_time); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('mobile_no')); ?>
</th>
    <td><?php echo CHtml::encode($model->mobile_no); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('incentive')); ?>
</th>
    <td><?php echo CHtml::encode($model->incentive); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('state')); ?>
</th>
    <td><?php echo CHtml::encode($model->state==0?'正常':'删除'); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($model->getAttributeLabel('create_time')); ?>
</th>
    <td><?php echo CHtml::encode($model->create_time); ?>
</td>
</tr>
</table>
<?php if(isset($info)) echo "<script>alert('$info');</script>";?>